﻿using System;

namespace Thuoc24h.ViewModels
{
    public class ProductModels
    {
        public ProductModels(int id, string name, string unsignName, string thumbImage, double? price, double? priceDiscount, double? discountPercent, string discountDescription, string description)
        {
            Id = id;
            Name = name;
            UnsignName = unsignName;
            ThumbImage = thumbImage;
            Price = price;
            PriceDiscount = priceDiscount;
            DiscountPercent = discountPercent;
            DiscountDescription = discountDescription;
            Description = description;
        }

        public int Id { get; set; }
        public string Name { get; set; }
        public string UnsignName { get; set; }
        public string ThumbImage { get; set; }
        public double? Price { get; set; }
        public double? PriceDiscount { get; set; }
        public double? DiscountPercent { get; set; }
        public string DiscountDescription { get; set; }
        public string Description { get; set; }
        public string Detail { get; set; }
        public bool? IsGroupBuy { get; set; }
        public int? CategoryId { get; set; }
        public DateTime? CreatedDate { get; set; }
        public int? ViewCount { get; set; }
        public int? BuyCount { get; set; }
        public bool? IsSalesOff { get; set; }

        public ProductModels()
        {
        }
    }
}